package br.com.busgps.dao;

import java.util.List;

import br.com.busgps.bean.Location;

/**
 * 
 * Classe abstrata de conexao com o BD.
 * 
 * @author Rodrigo
 * 
 */
public abstract class LocationDAO
{
    public abstract boolean insert(Location loc, Long busId);

    public abstract boolean update(Location loc);

    public abstract boolean updateAll(List<Location> loc);

    public abstract List<Location> getAll();
}